-
Notifications
You must be signed in to change notification settings - Fork 905
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cleaup previous widevine vmp PRs #2693
Conversation
6b93ba3
to
4539012
Compare
Set skip labels except Windows because all others are passed and only Win64 was failed due to installer signing. it was also unrelated with this PR. |
4539012
to
64bf838
Compare
+ shutil.copy(os.path.join(src_dir, 'brave.exe'), chrome_dir) | ||
+ shutil.copy(os.path.join(src_dir, 'chrome.dll'), version_dir) | ||
+ shutil.copy(os.path.join(src_dir, 'chrome_child.dll'), version_dir) | ||
+ from create_installer_archive_helper import ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please put on one line, lint is not an issue for patches
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
version_numbers = prev_version.split('.') | ||
prev_build_number = version_numbers[2] + '.' + version_numbers[3] | ||
|
||
+ if not options.skip_signing: | ||
+ from sign_binaries import sign_binaries | ||
+ sign_binaries(staging_dir) | ||
+ from create_installer_archive_helper import CopyPreSignedBinaries |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should go at https://github.com/brave/brave-core/pull/2693/files#diff-a9c9a8da7aa4df821394352a0ca04a27R9 with the others, but also we shouldn't be calling two methods here. We should have a single method for both sign_binaries
and CopyPreSignedBinaries
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
+ from create_installer_archive_helper import ( | ||
+ CopyBraveExtensionLocalization, | ||
+ CopyBraveRewardsExtensionLocalization) | ||
+ CopyBraveExtensionLocalization(config, staging_dir, g_archive_inputs) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these two methods should be combined. There is no reason to call two methods in a row in patch that have the same params
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
64bf838
to
dfab44b
Compare
@bridiver Reduced to just 3 lines ;) PTAL again. |
Also brave extension & rewards extension localization works properly. |
dfab44b
to
2e62783
Compare
Remove/reduce unnecessary patches with our scripts. Remove brave_enable_cdm_host_verification gn vars.
2e62783
to
a6cd052
Compare
Remove/reduce unnecessary patches with our scripts.
Remove brave_enable_cdm_host_verification gn vars.
Issue: brave/brave-browser#4905
Related PR: brave/brave-browser#4909
Submitter Checklist:
npm run lint
)git rebase master
(if needed).git rebase -i
to squash commits (if needed).Test Plan:
Reviewer Checklist:
After-merge Checklist:
changes has landed on.